package com.bluesky.plum.uimodels.standard.components.validator;

import com.bluesky.plum.validate.validator.RequiredValidator;

/**
 * it is a component validator, which link to a target field component, get the
 * domain field value and validate it.
 * 
 * <br>
 * internally, it contains a pair validator, which will do the core work. this
 * class is focusing on UI Component stuffs. usually, it will show as a Label
 * component, word in red while fail to validate.
 * 
 * @author jack
 * 
 */
public class RequiredComponentValidator extends ComponentValidator {
	

	@Override
	public void initialize() {

		super.initialize();

		label.setCaption("Required");

		validator = new RequiredValidator();
	}

	
}
